/*
 * Copyright 2008 CSC Consulting Group under the Apache License, 
 * Version 2.0 (the "License"); you may not use this file except in 
 * compliance with the License. You may obtain a copy of the License at 
 * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable 
 * law or agreed to in writing, software distributed under the License is 
 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
 * either express or implied. See the License for the specific language 
 * governing permissions and limitations under the License.
 */
package com.waw.memberMap.plugin;

/**
 * A JavaBean holding a geographic location (latitude, longitude).
 *
 * @author jtremlett
 */
public  class Location {
	public String lon, lat;

	/**
	 * Constructor taking a latitude and longitude.
	 * @param lat latitude
	 * @param lon longitude
	 */
	public Location(String lat, String lon) {
		this.lon = lon;
		this.lat = lat;
	}

	/**
	 * Override of toString()
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return "Lat: " + lat + ", Lon: " + lon;
	}

	/** Getter for longitude property */
	public String getLon() {
		return lon;
	}
	
	/** Setter for longitude property */
	public void setLon(String lon) {
		this.lon = lon;
	}

	/** Getter for the latitude property */
	public String getLat() {
		return lat;
	}

	/** Setter for the latititude property */
	public void setLat(String lat) {
		this.lat = lat;
	}
}